Abstract Diagrams and an Opfibration Account of Typed Graph Transformation
نویسندگان
چکیده
Diagrams and an Opfibration Account of Typed Graph Transformation R. Banach Computer Science Dept., Manchester University, Manchester, M13 9PL, U.K. [email protected] A. Corradini Dipartimento di Informatica, Università di Pisa, Corso Italia 40, Pisa, Italy. [email protected] Abstract: The “in the large” properties of typed graph transformation systems in the double pushout framework and a double pullback variation of it, are reexamined. Preceding accounts utilising a fixed choice of pullbacks (whether adopted directly or via partial morphisms) are seen to be excessively sensitive to the precise graphs involved for comfort. A theory of abstract diagrams is developed, that allows the smooth formulation of an abstract version of the theory. Graph transformation steps appear as a split opfibration over abstract type change. The category of graph grammars, the category of graph transition systems, and the category of graph derivation systems emerge as opfibrations over abstract type change. Weakening the level of abstraction to the extent used to preserve event identity in event based treatments of graph transformation phenomena, makes the transformation steps opfibration unsplit, and weakens certain adjunctions. All the properties of interest are combined in a single triple category. The “in the large” properties of typed graph transformation systems in the double pushout framework and a double pullback variation of it, are reexamined. Preceding accounts utilising a fixed choice of pullbacks (whether adopted directly or via partial morphisms) are seen to be excessively sensitive to the precise graphs involved for comfort. A theory of abstract diagrams is developed, that allows the smooth formulation of an abstract version of the theory. Graph transformation steps appear as a split opfibration over abstract type change. The category of graph grammars, the category of graph transition systems, and the category of graph derivation systems emerge as opfibrations over abstract type change. Weakening the level of abstraction to the extent used to preserve event identity in event based treatments of graph transformation phenomena, makes the transformation steps opfibration unsplit, and weakens certain adjunctions. All the properties of interest are combined in a single triple category.
منابع مشابه
An Opfibration Account of Typed DPO and DPB Graph Transformation: Injective Productions
The “in the large” properties of typed graph transformation systems in the double pushout framework and a double pullback variation of it, are reexamined for injective productions (for which the theory is strictly richer than in the general case). Preceding accounts utilising a fixed choice of pullbacks (whether adopted directly or via partial morphisms) are seen to be excessively sensitive to ...
متن کاملA Typed Attributed Graph Grammar with Inheritance for the Abstract Syntax of UML Class and Sequence Diagrams
According to the UML Standard 2.0 class and sequence diagrams are defined in a descriptive way by a MOF meta-model and semi-formal constraints. This paper presents a formal and constructive definition of the abstract syntax of UML class and sequence diagrams based on the well-defined theory of typed attributed graph transformation with inheritance and application conditions. The generated langu...
متن کاملModel Transformation From VisualOCL to OCL Using Graph Transformation
In this paper we present a model transformation from a visual representation (VisualOCL) of the Object Constraint Language (OCL) to the textual one using graph transformation. Starting from VisualOCL diagrams, we show how their underlying abstract syntax can be modeled by typed attributed graphs and converted into an OCL string representation using graph transformation rules.
متن کاملSpecifying Coherent Refactoring of Software Artefacts with Distributed Graph Transformations
class AbstractPlayer { protected ContentSource source; private Description preferences; private Environment env; protected abstract ContentSource findSource(); protected abstract void setEnvironment(); protected void playContent() { source = findSource(); Content toPlay = source.provideContent(this); setEnvironment(); toPlay.play(env); } Description getPreferences() { return preferences; } void...
متن کاملModeling UML2 activity diagram by using Graph Transformation Systems and Abstract State Machine
Graphs and diagrams provide a simple and powerful approach variety of problems that are typical to computer science, for example for activities. In software development visual notation are used for modeling that including activity diagram, class diagram, control flow, graphs and some another diagrams. Models based on these notation can be seen a graph and graph transformation are involved. So A...
متن کامل